<?php

// Update after deployment for location of non-public files
$root = dirname(dirname(__FILE__));

// Setup the include path to include zend and the application
set_include_path(
    $root . '\\application\\'          . PATH_SEPARATOR .
    $root . '\\application\\models\\'  . PATH_SEPARATOR .
    $root . '\\application\\plugins\\' . PATH_SEPARATOR .
    $root . '\\library\\' 			   . PATH_SEPARATOR .
    get_include_path()
);

// Use the autoloader
require_once 'Zend/Loader.php';
Zend_Loader::registerAutoload();

// Initialize the application using the plugin
$front = Zend_Controller_Front::getInstance();
$front->registerPlugin(new InitializerPlugin('production'));

// Dispatch and respond
$front->dispatch()->sendResponse();

// Muhuguu

?>